﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace AGrandVenture
{
    class GiantBug : Enemy
    {
        static string  name = "Giant Bug";
        static Texture2D texture = Game1.bugOctoSheet;
        static Rectangle initialFrame = new Rectangle(0, 0, 48, 48);
        static int hp = 15;
        static int xpValue = 5;
        static int damageDealt = 2;
        static int damageTaken = 5;
        static float moveSpeed = 130;
        static float lootChance = 0.1f;

        public GiantBug(Vector2 worldLocation)
            : base(name, worldLocation, texture, initialFrame)
        {
            base.HasClaws = true;
            base.MoveSpeed = moveSpeed;
            base.ChanceToDropLoot = lootChance;
            base.DamageDealt = damageDealt;
            base.DamageTaken = damageTaken;
            base.HP = hp;
            base.XP_Value = xpValue;
            base.NeedsToRotate = true;
        }
    }
}
